.rjsf>.command-form {
  width: 300px;
  padding: 20px;
  padding-bottom: 8px;
}

.command-form {
  >.ant-form-item {
    margin: 0;
  }

  #root__description {
    font-size: .6667rem;
    font-style: italic;
  }

  .rjsf_no-title-field .ant-form-item-label {
    display: none;
  }

  &:not(.command-form-array) *:not(.command-form-array) {
    .ant-form-item {
      margin-bottom: 8px;
    }

    .form-group:not(.form-group-vertical) {
      .ant-row.ant-form-item-row {
        width: 100%;
        display: flex;
        flex-wrap: nowrap;

        >* {
          flex: 1
        }
      }

      .ant-input-number-input-wrap>input {
        height: 32px
      }
    }

    .ant-form-item-label {
      padding: 0
    }
  }

  .ant-form-item .ant-form-item-control-input {
    min-height: 24px !important;
  }
}

.command-form-array {
  .ant-input-number-input-wrap>input {
    height: 36px
  }
}

.form-dialog_footer {
  display: flex;
  padding: 0px 20px 12px;
  width: 100%;
  gap: 8px;
  align-items: center;

  .form-dialog_footer-buttons {
    display: flex;
    gap: 8px;
    margin-left: auto;
  }
}

.rjsf__array-schema-field {
  .pick-input_base-select {
    overflow: hidden;
    white-space: nowrap;

    &:not(:hover):not(:focus) {
      background: none;

      &:after {
        border-color: transparent !important;
      }

      .pick-input_base-select_selection>div:last-child {
        display: none;
      }
    }

    .pick-input_base-select_selection {
      margin-top: 0 !important;
    }

    .pick-input_base-select__placeholder {
      display: none;
    }
  }
}

.expr-input-dialog {
  box-shadow:
    0px 4px 15px rgba(53, 72, 83, 0.1),
    0px 1px 4px rgba(53, 72, 83, 0.05);
}